package com.bupt.jack.model;

import java.sql.Timestamp;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 877149021692669903L;
	private Long id;
	private String username;
	private String password;
	private String email;
	private String phone;
	private Double account;
	private Integer points;
	private Integer sex;
	private Timestamp birthday;
	private String name;
	private String nick;
	private String hometown;
	private String location;
	private Long educationId;
	private Long jobId;
	private String qq;
	private String msn;
	private Long favorId;

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(Long id, String username, String password, Integer sex,
			String name) {
		this.id = id;
		this.username = username;
		this.password = password;
		this.sex = sex;
		this.name = name;
	}

	/** full constructor */
	public User(Long id, String username, String password, String email,
			String phone, Double account, Integer points, Integer sex,
			Timestamp birthday, String name, String nick, String hometown,
			String location, Long educationId, Long jobId, String qq,
			String msn, Long favorId) {
		this.id = id;
		this.username = username;
		this.password = password;
		this.email = email;
		this.phone = phone;
		this.account = account;
		this.points = points;
		this.sex = sex;
		this.birthday = birthday;
		this.name = name;
		this.nick = nick;
		this.hometown = hometown;
		this.location = location;
		this.educationId = educationId;
		this.jobId = jobId;
		this.qq = qq;
		this.msn = msn;
		this.favorId = favorId;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Double getAccount() {
		return this.account;
	}

	public void setAccount(Double account) {
		this.account = account;
	}

	public Integer getPoints() {
		return this.points;
	}

	public void setPoints(Integer points) {
		this.points = points;
	}

	public Integer getSex() {
		return this.sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Timestamp getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Timestamp birthday) {
		this.birthday = birthday;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNick() {
		return this.nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	public String getHometown() {
		return this.hometown;
	}

	public void setHometown(String hometown) {
		this.hometown = hometown;
	}

	public String getLocation() {
		return this.location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public Long getEducationId() {
		return this.educationId;
	}

	public void setEducationId(Long educationId) {
		this.educationId = educationId;
	}

	public Long getJobId() {
		return this.jobId;
	}

	public void setJobId(Long jobId) {
		this.jobId = jobId;
	}

	public String getQq() {
		return this.qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getMsn() {
		return this.msn;
	}

	public void setMsn(String msn) {
		this.msn = msn;
	}

	public Long getFavorId() {
		return this.favorId;
	}

	public void setFavorId(Long favorId) {
		this.favorId = favorId;
	}

}